/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:DELL
 * Date:2024-10-31
 * Time:22:06
 */
public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList();
        myLinkedList.addLast(1);
        myLinkedList.addLast(2);
        myLinkedList.addLast(3);
        myLinkedList.addLast(4);
        //System.out.println(myLinkedList.contains(2));
        //System.out.println(myLinkedList.size());
        //myLinkedList.addIndex(2,99);
        //myLinkedList.remove(2);
        //myLinkedList.removeAllKey(1);
        myLinkedList.clear();
        myLinkedList.display();
    }
}
